
	
	<input type="text" id="scriptaculous-autocompleter_input_<?php echo $this->params->name; ?>" name="<?php echo $this->params->name; ?>" />
	
	<?php if ($this->params->indicator != null): ?>
	<div id="scriptaculous-autocompleter_indicator_<?php echo $this->params->name; ?>" style="display: none">
		<img src="<?php echo $this->params->indicator; ?>" alt="..." />
	</div>
	<?php endif; ?>
	
	
	<div id="scriptaculous-autocompleter_div_<?php echo $this->params->name; ?>" style="display:none; position:absolute;"></div>
	
	<script type="text/javascript">
		new Ajax.Autocompleter("scriptaculous-autocompleter_input_<?php echo $this->params->name; ?>", "scriptaculous-autocompleter_div_<?php echo $this->params->name; ?>", "<?php echo $this->params->url; ?>", {paramName: "<?php echo $this->params->paramName; ?>" <?php if ($this->params->minChars != null) echo ', minChars: "' . $this->params->minChars . '"'; ?><?php if ($this->params->indicator != null) echo ', indicator: "' . "scriptaculous-autocompleter_indicator_" . $this->params->name . '"'; ?><?php if ($this->params->afterUpdateElement != null) echo ', afterUpdateElement: ' . $this->params->afterUpdateElement . ''; ?>});
	</script>
